<?php
session_start();
error_reporting(E_ALL   &   ~E_NOTICE); 
class config_edit
{
	public $water_logo, $shrinks, $root_path, $dbID, $dbHost, $dbUsername, $dbPassword, $root_path_admin, $root_path_root, $db, $n, $www, $flv, $pic, $rec, $u_path;
	public function __construct() 
	{
		$this->www = "http://fun.utvchina.com";
		$this->flv = "http://flv.utvchina.com/video/";
		$this->pic = "http://flv.utvchina.com/video/";
		//$this->pic = "http://192.168.1.66/u/pic/";
		$this->rflv = "http://rec.utvchina.com/";
		$this->root_path_admin = "/uadmin";
		$this->root_path_root = "/sale";
		$this->u_path = "/up";
		$this->root_path = $this->root_path_root;// . $this->root_path_admin;
		$this->dbID = 1;
		$this->dbHost = "localhost";
		$this->dbUsername = "root";
		$this->dbPassword = "root";
		$this->db = "sale";
		$this->n = 20;
		$this->water_logo = $this->root_path_root . "/pic/logo.png";
		$this->shrinks = $this->root_path_root . "/pic/Shrinks.jpg";
	}
}
$config = new config_edit;
require($config->root_path . "/include/function/conn.php");
require($config->root_path . "/include/function/class.php");
?>
